package org.example.api.day01;


import org.example.api.RpcResult;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

public interface IHello {

    RpcResult sayHi(@Valid @NotNull(message ="name 不能为空") String name);
}
